package main

import (
	"fmt"
	. "whoops/leetcode/a690_员工的重要性/answer/common"
	"whoops/leetcode/a690_员工的重要性/answer/way_bfs"
	"whoops/leetcode/a690_员工的重要性/answer/way_dfs"
)

func main() {
	employees := []*Employee{
		{
			1,
			5,
			[]int{2, 3},
		},
		{
			2,
			3,
			[]int{},
		},
		{
			3,
			3,
			[]int{},
		},
	}
	fmt.Println(way_dfs.GetImportance(employees, 1))
	fmt.Println(way_bfs.GetImportance(employees, 1))
}
